/*
/****************** Exercise 1 *****************
 * Create a class containing an int and a char
 * that are not initialized. Print their values
 * to verify that Java performs default
 * initialization.
 ***********************************************/
 
package thinkinginjava.everything_is_an_object;


/**
 *
 * @author Vlad
 */
class C1{
    public int i;
    public char c;
}

/**
 *
 * @author Vlad
 */
public class Exercise1 {
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        C1 c1 = new C1();
        System.out.println("int default value = " + c1.i); // default value is zero
        System.out.println("char default value =" + c1.c); // default value is a character
                                                          // with zero code.
    }
}
